package com.example.demo.utils.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;


/**
 * <p>
 * 前端视图层
 * </p>
 *
 * @author dapangdong
 * @since 2022-06-10 18:10:59
*/
@Controller
public class ViewController {

    @RequestMapping("/index")
    public Object index() {
        return "/index";
    }

    @RequestMapping("/map")
    public Object map() {
        return "/map";
    }

    @RequestMapping("/login")
    public Object login() {
        return "/login";
    }

    @RequestMapping("/UserList")
    public Object user() {
        return "/html/UserList";
    }

    @RequestMapping("/RoleList")
    public Object role() {
        return "/html/RoleList";
    }

    @RequestMapping("/UserRoleList")
    public Object userRole() {
        return "/html/UserRoleList";
    }

}